package com.hlkj.pay.infrastructure.model.order;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

/**
* 收款单
* @TableName t_order_receive
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_order_receive")
public class OrderReceiveDO extends BaseDO {
    @Schema(description = "appid")
    private String appId;
    @Schema(description = "sn")
    private String sn;
    @Schema(description = "加密方式")
    private String signType;

    @Schema(description = "收款单名称")
    private String name;
    @Schema(description = "收款单编号")
    private String code;
    @Schema(description = "状态 0：已关闭 1：未收款 2：已收款 3:已完成")
    private Integer status;
    @Schema(description = "收款单金额类型 0：收款方填写 1：付款方填写")
    private Integer amountType;
    @Schema(description = "收款金额")
    private BigDecimal amount;
    @Schema(description = "收款备注")
    private String remark;
    @Schema(description = "收款次数")
    private Integer num ;
    @Schema(description = "采集信息JSON,key-value键值对")
    private String colletJson ;
    @Schema(description = "收款成功时间")
    private Long successTime;

    @Schema(description = "支付类型")
    private String payType;
    @Schema(description = "支付方式")
    private String paySubType;
    @Schema(description = "场景类型")
    private Integer sceneType;

    @Schema(description = "收款单链接")
    private String link;

}
